<template>
  <el-config-provider :locale="currentLocale">
    <router-view />
    <ReDialog />
  </el-config-provider>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import { ReDialog } from "@/components/ReDialog";
export default defineComponent({
  name: "app",
  components: {
    [ElConfigProvider.name]: ElConfigProvider,
    ReDialog
  },
  computed: {
    currentLocale() {
      return zhCn;
    }
  }
});
</script>
<style lang="scss">
.c-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.c-page__search {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.c-page__bg {
  width: 100%;
  height: 100%;
  padding-bottom: 24px;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.c-page-info {
  padding: 24px 0 24px 24px;
  color: #262626;
  overflow-y: auto;
}
</style>
